package com.ciwong.epaper.modules.me.bean;

import com.ciwong.mobilelib.bean.BaseBean;
import com.ciwong.mobilelib.bean.UserInfoBase;
import com.google.gson.Gson;

/**
 * Created by neo on 2016/7/4.
 */
public class ClassMember extends BaseBean{

//    private static final long serialVersionUID = -4609468196586783980L;
    private String userName;

    /**
     * 用户ID
     */
    private long userId;

    /**
     * 用户头像
     */
    private String avatar;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 用户性别
     */
    private int sex;

    public long getUserId()
    {
        return userId;
    }

    public void setUserId(long userId)
    {
        this.userId = userId;
    }

    public String getAvatar()
    {
        return avatar;
    }

    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getRealName()
    {
        return realName;
    }

    public void setRealName(String realName)
    {
        this.realName = realName;
    }

    public String getNickName()
    {
        return nickName;
    }

    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public int getSex()
    {
        return sex;
    }

    public void setSex(int sex)
    {
        this.sex = sex;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public String getUserName() {
        return userName;
    }


    @Override
    public String toString()
    {
        return new Gson().toJson(this);
    }
}
